//
//  BookListTableViewCell.m
//  QYer
//
//  Created by lanou on 16/8/10.
//  Copyright © 2016年 CaiZhuYu. All rights reserved.
//

#import "BookListTableViewCell.h"

@implementation BookListTableViewCell

- (void)setContentWithModel:(BookListModel *)model {
    [self.picView sd_setImageWithURL:[NSURL URLWithString:model.photo] placeholderImage:[UIImage imageNamed:@"占位图"]];
    self.titleLabel.text = model.title;
    self.soldLabel.text = model.sold;
    self.priceLabel.text = model.price;
}



/*
 //id
 @property (nonatomic, copy) NSString *ID;
 //北京/天津/成都直飞芽庄5-6天自由行
 @property (nonatomic, copy) NSString *title;
 //2680
 @property (nonatomic, copy) NSString *price;
 //已售38件
 @property (nonatomic, copy) NSString *sold;
 //天津、成都等地 - 芽庄
 @property (nonatomic, copy) NSString *area;
 //图片
 @property (nonatomic, copy) NSString *photo;
 */

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
